package com.fitness.entity;

import java.io.Serializable;

/**
 * 项目经理实体类，对应数据库中的项目经理表
 */
public class ProjectManager implements Serializable {
    private Integer managerId; // 经理ID，对应数据库 经理ID 字段
    private String managerName; // 经理姓名，对应数据库 经理姓名 字段
    private Integer responsibleProjectId; // 负责项目ID，对应数据库 负责项目ID 字段
    private String projectName;
    // Getter 和 Setter 方法
    public Integer getManagerId() {
        return managerId;
    }

    public void setManagerId(Integer managerId) {
        this.managerId = managerId;
    }

    public String getManagerName() {
        return managerName;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName;
    }

    public Integer getResponsibleProjectId() {
        return responsibleProjectId;
    }

    public void setResponsibleProjectId(Integer responsibleProjectId) {
        this.responsibleProjectId = responsibleProjectId;
    }

    // 重写 toString 方法，方便打印查看对象内容
    @Override
    public String toString() {
        return "ProjectManager{" +
                "managerId=" + managerId +
                ", managerName='" + managerName + '\'' +
                ", responsibleProjectId=" + responsibleProjectId +
                '}';
    }

    public String getProjectName() { return projectName; }
    public void setProjectName(String projectName) { this.projectName = projectName; }
}